<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>Vue-基础编码</title>
		<script src="vue.js"></script>
	</head>

	<body>
		<!-- 2.设置Vue最外层的div -->
		<div id="app">
			<p>欢迎学习Vue技术</p>
		</div>
	</body>
	<script>
		// 3.声明vue控制对象
		var vm = new Vue({
			el: "#app",
			data: {
				msg: '欢迎学习Vue技术'
			}
		})
	</script>

</html>